package tech.bmatch.redpack.param;

import tech.bmatch.redpack.model.CouponType;
import tech.bmatch.redpack.model.RedPackType;

import java.util.List;

/**
 * 创建红包参数
 */
public class CreateRedPackParam {
    private String merchantId; //商户id
    private RedPackType redPackType; //红包类型
    private CouponType couponType; //优惠类型
    private List<String> conditionIds; //使用条件
    private int amount; //红包金额
    private int totalAmount; //满减总金额
    private int validity; //使用有效期

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public RedPackType getRedPackType() {
        return redPackType;
    }

    public void setRedPackType(RedPackType redPackType) {
        this.redPackType = redPackType;
    }

    public CouponType getCouponType() {
        return couponType;
    }

    public void setCouponType(CouponType couponType) {
        this.couponType = couponType;
    }

    public List<String> getConditionIds() {
        return conditionIds;
    }

    public void setConditionIds(List<String> conditionIds) {
        this.conditionIds = conditionIds;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public int getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(int totalAmount) {
        this.totalAmount = totalAmount;
    }

    public int getValidity() {
        return validity;
    }

    public void setValidity(int validity) {
        this.validity = validity;
    }
}
